
import axiosMine from "@/utils/axiosMine.js";

const routeCofig = 'captcha-api';

export const getImgCaptcha = () => {
    // return axiosShop.get('/captcha/image')
    return axiosMine.get(`${routeCofig}/getImgCaptcha`)
}

// 传body
export const getEmailCaptcha = (email) => {
    return axiosMine.post(`${routeCofig}/sendEmailCaptcha/${email}`)
}




